package pjkanri.service;

import java.util.List;

import pjkanri.dao.DAOException;
import pjkanri.dao.Issure_DetailDAO;
import pjkanri.entity.Issure_detail;

public class Issure_DetailService {
	
	public static void insert(Issure_detail issure_detail) throws DAOException{
		Issure_DetailDAO issure_detaildao = new Issure_DetailDAO();
		issure_detaildao.insert(issure_detail);
	}
	
	/**
	 * @return
	 * @throws DAOException
	 */
	public static List<Issure_detail> getIssue_DetaiList() throws DAOException {
		Issure_DetailDAO issure_detaildao = new Issure_DetailDAO();
		return issure_detaildao.findAll();
	}
}
	